package net.println.kotlin.chapter4.overload

import java.util.ArrayList

class Overloads {
    fun a(int: Int = 0):Int {
        return int
    }
}

fun main(args: Array<String>) {
    val overload = Overloads()
    overload.a()

    val integerList = ArrayList<Int>()
    integerList.add(13)
    integerList.add(1)
    integerList.add(5)
    integerList.add(33)
    integerList.add(23)
    integerList.add(43)
    integerList.add(73)
    println(integerList)

    integerList.removeAt(1)
    integerList.removeAt(5)
    println(integerList)
}